

import '../http_code.dart';

abstract class HttpResultBaseBean{
  ///响应码
  int? code;

  ///错误提示
  String? message;

  HttpResultBaseBean({required this.code, this.message});

  ///是否请求成功
  bool isSuccess() {
    return HttpCode.successCodeList.contains(code);
  }
}
